/*
 * 扬州米彩网络科技有限公司
 * Web Site: http://www.micolor.com/
 */
package com.lemo.mybatis.entity;

import java.util.Date;

/**
 * Project:logistics-single
 * Package:com.micolor.data.dao.comment
 *
 * @Author:Ann
 * @Description: 评论记录实体
 * @Date:2018-8-13
 * @Modified:
 */
public class CommentEntity {
    private String id;//主键
    private String coid;//评论对象ID
    private String uid;//评论人id
    private String content;//评论内容
    private String isdel;//1未删除 2已删除
    private String parentid;//父id
    private Date createAt;//创建时间

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCoid() {
        return coid;
    }

    public void setCoid(String coid) {
        this.coid = coid;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getIsdel() {
        return isdel;
    }

    public void setIsdel(String isdel) {
        this.isdel = isdel;
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("CommentEntity{");
        sb.append("id='").append(id).append('\'');
        sb.append(", coid='").append(coid).append('\'');
        sb.append(", uid='").append(uid).append('\'');
        sb.append(", content='").append(content).append('\'');
        sb.append(", isdel='").append(isdel).append('\'');
        sb.append(", parentid='").append(parentid).append('\'');
        sb.append(", createAt=").append(createAt);
        sb.append('}');
        return sb.toString();
    }
}